<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.15"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>MNN: MNN::CV::ImageProcess类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">MNN
   &#160;<span id="projectnumber">1.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.15 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',false,false,'search.php','搜索');
});
/* @license-end */</script>
<div id="main-nav"></div>
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespace_m_n_n.html">MNN</a></li><li class="navelem"><a class="el" href="namespace_m_n_n_1_1_c_v.html">CV</a></li><li class="navelem"><a class="el" href="class_m_n_n_1_1_c_v_1_1_image_process.html">ImageProcess</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#nested-classes">类</a> &#124;
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pub-static-methods">静态 Public 成员函数</a> &#124;
<a href="class_m_n_n_1_1_c_v_1_1_image_process-members.html">所有成员列表</a>  </div>
  <div class="headertitle">
<div class="title">MNN::CV::ImageProcess类 参考</div>  </div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="_image_process_8hpp_source.html">ImageProcess.hpp</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
类</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_m_n_n_1_1_c_v_1_1_image_process_1_1_config.html">Config</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:af6da1fbdbc35c04c529734acf5baef40"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_m_n_n_1_1_c_v_1_1_image_process.html#af6da1fbdbc35c04c529734acf5baef40">~ImageProcess</a> ()</td></tr>
<tr class="separator:af6da1fbdbc35c04c529734acf5baef40"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a052e576273c66805849e8b4a0137fa2a"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="class_m_n_n_1_1_c_v_1_1_matrix.html">Matrix</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_m_n_n_1_1_c_v_1_1_image_process.html#a052e576273c66805849e8b4a0137fa2a">matrix</a> () const</td></tr>
<tr class="memdesc:a052e576273c66805849e8b4a0137fa2a"><td class="mdescLeft">&#160;</td><td class="mdescRight">get affine transform matrix.  <a href="#a052e576273c66805849e8b4a0137fa2a">更多...</a><br /></td></tr>
<tr class="separator:a052e576273c66805849e8b4a0137fa2a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a48b1f23df7f4e957439ddac2cb3ac970"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_m_n_n_1_1_c_v_1_1_image_process.html#a48b1f23df7f4e957439ddac2cb3ac970">setMatrix</a> (const <a class="el" href="class_m_n_n_1_1_c_v_1_1_matrix.html">Matrix</a> &amp;<a class="el" href="class_m_n_n_1_1_c_v_1_1_image_process.html#a052e576273c66805849e8b4a0137fa2a">matrix</a>)</td></tr>
<tr class="separator:a48b1f23df7f4e957439ddac2cb3ac970"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab1c1b347807e0e1eba542547633c19b0"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespace_m_n_n.html#a6814f7688a6a1ba4245f3ec5f4773241">ErrorCode</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_m_n_n_1_1_c_v_1_1_image_process.html#ab1c1b347807e0e1eba542547633c19b0">convert</a> (const uint8_t *source, int iw, int ih, int stride, <a class="el" href="class_m_n_n_1_1_tensor.html">Tensor</a> *dest)</td></tr>
<tr class="memdesc:ab1c1b347807e0e1eba542547633c19b0"><td class="mdescLeft">&#160;</td><td class="mdescRight">convert source data to given tensor.  <a href="#ab1c1b347807e0e1eba542547633c19b0">更多...</a><br /></td></tr>
<tr class="separator:ab1c1b347807e0e1eba542547633c19b0"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
静态 Public 成员函数</h2></td></tr>
<tr class="memitem:a4e30e6d66bef770673a1852edda5c3ff"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="class_m_n_n_1_1_c_v_1_1_image_process.html">ImageProcess</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_m_n_n_1_1_c_v_1_1_image_process.html#a4e30e6d66bef770673a1852edda5c3ff">create</a> (const <a class="el" href="struct_m_n_n_1_1_c_v_1_1_image_process_1_1_config.html">Config</a> &amp;config, const <a class="el" href="class_m_n_n_1_1_tensor.html">Tensor</a> *dstTensor=nullptr)</td></tr>
<tr class="memdesc:a4e30e6d66bef770673a1852edda5c3ff"><td class="mdescLeft">&#160;</td><td class="mdescRight">create image process with given config for given tensor.  <a href="#a4e30e6d66bef770673a1852edda5c3ff">更多...</a><br /></td></tr>
<tr class="separator:a4e30e6d66bef770673a1852edda5c3ff"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a72889b53dbfa1c04b1d84b76fd732929"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="class_m_n_n_1_1_c_v_1_1_image_process.html">ImageProcess</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_m_n_n_1_1_c_v_1_1_image_process.html#a72889b53dbfa1c04b1d84b76fd732929">create</a> (const <a class="el" href="namespace_m_n_n_1_1_c_v.html#a049bf04355097a618e8b48a11ef02eda">ImageFormat</a> sourceFormat=<a class="el" href="namespace_m_n_n_1_1_c_v.html#a049bf04355097a618e8b48a11ef02edaa92103a4cab21a7f18d2b704906e10f23">RGBA</a>, const <a class="el" href="namespace_m_n_n_1_1_c_v.html#a049bf04355097a618e8b48a11ef02eda">ImageFormat</a> destFormat=<a class="el" href="namespace_m_n_n_1_1_c_v.html#a049bf04355097a618e8b48a11ef02edaa92103a4cab21a7f18d2b704906e10f23">RGBA</a>, const float *means=nullptr, const int meanCount=0, const float *normals=nullptr, const int normalCount=0, const <a class="el" href="class_m_n_n_1_1_tensor.html">Tensor</a> *dstTensor=nullptr)</td></tr>
<tr class="memdesc:a72889b53dbfa1c04b1d84b76fd732929"><td class="mdescLeft">&#160;</td><td class="mdescRight">create image process with given config for given tensor.  <a href="#a72889b53dbfa1c04b1d84b76fd732929">更多...</a><br /></td></tr>
<tr class="separator:a72889b53dbfa1c04b1d84b76fd732929"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aee310b58abf2332d78cc59a14281e5bc"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
<tr class="memitem:aee310b58abf2332d78cc59a14281e5bc"><td class="memTemplItemLeft" align="right" valign="top">static <a class="el" href="class_m_n_n_1_1_tensor.html">Tensor</a> *&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="class_m_n_n_1_1_c_v_1_1_image_process.html#aee310b58abf2332d78cc59a14281e5bc">createImageTensor</a> (int w, int h, int bpp, void *p=nullptr)</td></tr>
<tr class="memdesc:aee310b58abf2332d78cc59a14281e5bc"><td class="mdescLeft">&#160;</td><td class="mdescRight">create tensor with given data.  <a href="#aee310b58abf2332d78cc59a14281e5bc">更多...</a><br /></td></tr>
<tr class="separator:aee310b58abf2332d78cc59a14281e5bc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3e482a7f90d6de1e21f0a368bb366803"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="class_m_n_n_1_1_tensor.html">Tensor</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_m_n_n_1_1_c_v_1_1_image_process.html#a3e482a7f90d6de1e21f0a368bb366803">createImageTensor</a> (<a class="el" href="structhalide__type__t.html">halide_type_t</a> type, int w, int h, int bpp, void *p=nullptr)</td></tr>
<tr class="separator:a3e482a7f90d6de1e21f0a368bb366803"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p>handle image process for tensor. step: 1: Do transform compute and get points 2: Sample line and do format convert 3: Turn RGBA to float tensor, and do sub and normalize </p>
</div><h2 class="groupheader">构造及析构函数说明</h2>
<a id="af6da1fbdbc35c04c529734acf5baef40"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af6da1fbdbc35c04c529734acf5baef40">&#9670;&nbsp;</a></span>~ImageProcess()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">MNN::CV::ImageProcess::~ImageProcess </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">成员函数说明</h2>
<a id="ab1c1b347807e0e1eba542547633c19b0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab1c1b347807e0e1eba542547633c19b0">&#9670;&nbsp;</a></span>convert()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespace_m_n_n.html#a6814f7688a6a1ba4245f3ec5f4773241">ErrorCode</a> MNN::CV::ImageProcess::convert </td>
          <td>(</td>
          <td class="paramtype">const uint8_t *&#160;</td>
          <td class="paramname"><em>source</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>iw</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>ih</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>stride</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_m_n_n_1_1_tensor.html">Tensor</a> *&#160;</td>
          <td class="paramname"><em>dest</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>convert source data to given tensor. </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">source</td><td>source data. </td></tr>
    <tr><td class="paramname">iw</td><td>source width. </td></tr>
    <tr><td class="paramname">ih</td><td>source height. </td></tr>
    <tr><td class="paramname">stride</td><td>number of elements per row. eg: 100 width RGB contains at least 300 elements. </td></tr>
    <tr><td class="paramname">dest</td><td>given tensor. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>result code. </dd></dl>

</div>
</div>
<a id="a4e30e6d66bef770673a1852edda5c3ff"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4e30e6d66bef770673a1852edda5c3ff">&#9670;&nbsp;</a></span>create() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="class_m_n_n_1_1_c_v_1_1_image_process.html">ImageProcess</a>* MNN::CV::ImageProcess::create </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="struct_m_n_n_1_1_c_v_1_1_image_process_1_1_config.html">Config</a> &amp;&#160;</td>
          <td class="paramname"><em>config</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="class_m_n_n_1_1_tensor.html">Tensor</a> *&#160;</td>
          <td class="paramname"><em>dstTensor</em> = <code>nullptr</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>create image process with given config for given tensor. </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">config</td><td>given config. </td></tr>
    <tr><td class="paramname">dstTensor</td><td>given tensor. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>image processor. </dd></dl>

</div>
</div>
<a id="a72889b53dbfa1c04b1d84b76fd732929"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a72889b53dbfa1c04b1d84b76fd732929">&#9670;&nbsp;</a></span>create() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="class_m_n_n_1_1_c_v_1_1_image_process.html">ImageProcess</a>* MNN::CV::ImageProcess::create </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="namespace_m_n_n_1_1_c_v.html#a049bf04355097a618e8b48a11ef02eda">ImageFormat</a>&#160;</td>
          <td class="paramname"><em>sourceFormat</em> = <code><a class="el" href="namespace_m_n_n_1_1_c_v.html#a049bf04355097a618e8b48a11ef02edaa92103a4cab21a7f18d2b704906e10f23">RGBA</a></code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="namespace_m_n_n_1_1_c_v.html#a049bf04355097a618e8b48a11ef02eda">ImageFormat</a>&#160;</td>
          <td class="paramname"><em>destFormat</em> = <code><a class="el" href="namespace_m_n_n_1_1_c_v.html#a049bf04355097a618e8b48a11ef02edaa92103a4cab21a7f18d2b704906e10f23">RGBA</a></code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const float *&#160;</td>
          <td class="paramname"><em>means</em> = <code>nullptr</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const int&#160;</td>
          <td class="paramname"><em>meanCount</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const float *&#160;</td>
          <td class="paramname"><em>normals</em> = <code>nullptr</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const int&#160;</td>
          <td class="paramname"><em>normalCount</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="class_m_n_n_1_1_tensor.html">Tensor</a> *&#160;</td>
          <td class="paramname"><em>dstTensor</em> = <code>nullptr</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>create image process with given config for given tensor. </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">means</td><td>given means </td></tr>
    <tr><td class="paramname">meanCount</td><td>given means count </td></tr>
    <tr><td class="paramname">normals</td><td>given normals </td></tr>
    <tr><td class="paramname">normalCount</td><td>given normal count </td></tr>
    <tr><td class="paramname">sourceFormat</td><td>format of source data </td></tr>
    <tr><td class="paramname">destFormat</td><td>format of destination data </td></tr>
    <tr><td class="paramname">dstTensor</td><td>given tensor. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>image processor. </dd></dl>

</div>
</div>
<a id="aee310b58abf2332d78cc59a14281e5bc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aee310b58abf2332d78cc59a14281e5bc">&#9670;&nbsp;</a></span>createImageTensor() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="class_m_n_n_1_1_tensor.html">Tensor</a>* MNN::CV::ImageProcess::createImageTensor </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>w</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>h</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>bpp</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>p</em> = <code>nullptr</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>create tensor with given data. </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">w</td><td>image width. </td></tr>
    <tr><td class="paramname">h</td><td>image height. </td></tr>
    <tr><td class="paramname">bpp</td><td>bytes per pixel. </td></tr>
    <tr><td class="paramname">p</td><td>pixel data pointer. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>created tensor. </dd></dl>

</div>
</div>
<a id="a3e482a7f90d6de1e21f0a368bb366803"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3e482a7f90d6de1e21f0a368bb366803">&#9670;&nbsp;</a></span>createImageTensor() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="class_m_n_n_1_1_tensor.html">Tensor</a>* MNN::CV::ImageProcess::createImageTensor </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structhalide__type__t.html">halide_type_t</a>&#160;</td>
          <td class="paramname"><em>type</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>w</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>h</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>bpp</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>p</em> = <code>nullptr</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a052e576273c66805849e8b4a0137fa2a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a052e576273c66805849e8b4a0137fa2a">&#9670;&nbsp;</a></span>matrix()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="class_m_n_n_1_1_c_v_1_1_matrix.html">Matrix</a>&amp; MNN::CV::ImageProcess::matrix </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>get affine transform matrix. </p>
<dl class="section return"><dt>返回</dt><dd>affine transform matrix. </dd></dl>

</div>
</div>
<a id="a48b1f23df7f4e957439ddac2cb3ac970"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a48b1f23df7f4e957439ddac2cb3ac970">&#9670;&nbsp;</a></span>setMatrix()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void MNN::CV::ImageProcess::setMatrix </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_m_n_n_1_1_c_v_1_1_matrix.html">Matrix</a> &amp;&#160;</td>
          <td class="paramname"><em>matrix</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>include/<a class="el" href="_image_process_8hpp_source.html">ImageProcess.hpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者 &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.15
</small></address>
</body>
</html>
